package myReview;
/*
 * 定义一个方法求两个数的和，并在主方法中调用
 */
public class MethoDemo {
	public static void main(String[] args) {
//		int sum = sum(2,3);
		System.out.println(sum(2,3));
	}
	
	
	public static int sum(int a,int b) {
//		int sum = 0;
//		sum = a + b;
		return a+b;
	}
}
